Methods and systems for an oxygen sensor

ABSTRACT

Methods and systems are provided for accurately learning the zero point of an intake gas oxygen sensor during selected engine no-fueling conditions. The learned zero point is used to infer EGR flow and accordingly adjust EGR valve control. In addition, EGR valve leakage is diagnosed based on the zero point learned during a DFSO adaptation relative to a zero point learned during an idle adaptation.

TECHNICAL FIELD

The present application relates generally to a gas constituent sensorincluded in an intake system of an internal combustion engine.

BACKGROUND AND SUMMARY

Engine systems may utilize recirculation of exhaust gas from an engineexhaust system to an engine intake system (intake passage), a processreferred to as exhaust gas recirculation (EGR), to reduce regulatedemissions. An EGR system may include various sensors to measure and/orcontrol the EGR. As one example, the EGR system may include an intakegas constituent sensor, such as an oxygen sensor, which may be employedto measure oxygen to determine the proportion of combusted gases in anintake passage of the engine. The sensor may also be used during non-EGRconditions to determine the oxygen content of fresh intake air. The EGRsystem may additionally or optionally include an exhaust gas oxygensensor coupled to the exhaust manifold for estimating a combustionair-fuel ratio.

As such, when the intake oxygen sensor is used for EGR control, the EGRis measured as a function of the change in oxygen due to EGR as adiluent. To determine the change in the amount of oxygen, a referencepoint corresponding to an oxygen reading when no EGR is present isrequired. Such a reference point is called the “zero point” of theoxygen sensor. Due to the sensitivity of the oxygen sensor to pressure,as well as aging, there may be large deviations in the “zero point” atdifferent engine operating conditions. Therefore the oxygen sensor mayneed to be regularly calibrated and a correction factor may need to belearned.

One example method for calibrating an intake gas oxygen sensor isdepicted by Matsubara et al. in U.S. Pat. No. 6,742,379. Therein, acalibration coefficient is calculated to calibrate the output of anintake oxygen sensor and an intake passage pressure during selectedengine conditions where the intake pressure is stable, that is, within athreshold. If the calibration coefficient is outside a threshold, it maybe determined that the sensor is degraded.

However the inventors herein have recognized that such an approach maynot learn the correction calibration coefficient if an EGR valve isleaking Specifically, due to the location of the intake oxygen sensordownstream of the EGR valve and downstream of an outlet of alow-pressure EGR passage, in the event of EGR valve leakage, exhaust gasmay leak out of the EGR passage and onto the sensor. The output of theoxygen sensor may consequently be corrupted and the EGR dilutionestimated may be lower than the actual value. As a result, EGR controlmay be degraded.

In one example, a method for an engine comprises: learning a referencepoint for an intake oxygen sensor at a reference intake pressure duringengine non-fueling conditions; and adjusting EGR flow to the enginebased on an intake oxygen concentration estimated by the sensor relativeto the learned reference point, and further based on a change in intakepressure from the reference intake pressure. In this way, an intakeoxygen sensor can be calibrated without being effected by EGR valveleakage.

As an example, during selected engine non-fueling conditions, such asduring a deceleration fuel shut-off condition, an adaptation of theintake oxygen sensor may be performed. During the adaptation, an outputof the intake oxygen sensor may be monitored for a duration of theengine non-fueling condition. A relationship between the output of thesensor at a reference intake pressure may be learned and corrected forfactors such as humidity. When the adaptation is complete, the output ofthe intake oxygen sensor may be used to estimate an EGR concentration,and thereby adjust an EGR flow. Specifically, the output may be adjustedwith a pressure correction factor based on the current intake pressureand the reference intake pressure, and the corrected oxygen sensoroutput may be used to more accurately estimate the change in intakeoxygen concentration with EGR dilution. By correcting for pressurechanges, the pressure effect on oxygen sensor readings is compensatedfor. As such, even if an EGR valve is leaking, during non-fuelingconditions, the charge leaked over the intake oxygen sensor is air.Therefore, by performing the adaptation during non-fueling conditions,even if an EGR valve is leaking, the output of the oxygen sensor can berelied on. In addition, based on a comparison of the zero point learnedduring DFSO conditions relative to a zero point learned during an idleadaptation of the sensor, EGR valve leakage can be diagnosed. Forexample, if the idle adaptation value differs from the DFSO adaptationvalue by more than a threshold amount, it may be determined that the EGRvalve is leaking Accordingly, EGR control may be modified. For example,instead of relying on the oxygen sensor output for feedback control ofEGR flow, in the event of an EGR valve leakage, only feed-forwardadjustments to EGR flow may be performed.

In this way, a relationship between an intake oxygen sensor and anintake pressure sensor can be learned, independent of the accuracy ofeither sensor, and used to adjust EGR flow. By performing the learningduring non-fueling conditions, corruption of sensor output due exhaustresiduals received from a leaking EGR valve can reduced. By comparingthe DFSO adaptation to an idle adaptation, EGR valve diagnostics canalso be performed. Overall, the accuracy of EGR estimation is increased,allowing for improved EGR control.

It should be understood that the summary above is provided to introducein simplified form a selection of concepts that are further described inthe detailed description. It is not meant to identify key or essentialfeatures of the claimed subject matter, the scope of which is defineduniquely by the claims that follow the detailed description.Furthermore, the claimed subject matter is not limited toimplementations that solve any disadvantages noted above or in any partof this disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1-2 are schematic diagrams of an engine system.

FIG. 3 is a map depicting the relationship between intake pressure andthe pumping current of an intake oxygen sensor.

FIG. 4 depicts a flowchart for performing a zero point estimation for anintake oxygen sensor during engine idling conditions.

FIG. 5 depicts a flowchart for performing a zero point estimation for anintake oxygen sensor during engine non-fueling conditions.

FIG. 6 depicts a flowchart for identifying degradation of an EGR valvebased on the zero point estimated using idle adaptation and the zeropoint estimated using DFSO adaptation.

FIG. 7 shows an example idle adaptation.

FIG. 8 depicts a flowchart for correcting a learned zero point based onambient humidity.

FIG. 9 depicts a flowchart for EGR control using the learned intakeoxygen zero point.

DETAILED DESCRIPTION

The present description is related to methods and system for learning areference point, or zero point, for an intake oxygen sensor, such as thesensor coupled to the engine systems of FIGS. 1-2. The reference pointmay be determined based on a learned relationship between the output ofthe intake oxygen sensor and an output of an intake pressure sensor atselected conditions (FIG. 3). A controller may be configured to performa control routine, such as the routine of FIGS. 4-5 to learn the zeropoint for the intake oxygen sensor during an idle adaptation or during aDFSO adaptation. The learned reference point may be corrected based onambient humidity (FIG. 8). The controller may also be configured toperform a routine (FIG. 6) to identify EGR valve leakage based ondiscrepancies between the zero point estimated at idle conditions andthe zero point estimated at DFSO conditions. In response to EGR valveleakage, EGR control may be adjusted (FIG. 9) so as to vary the feedbackcomponent of EGR control from the oxygen sensor. An example idleadaptation is shown at FIG. 7. In this way, an intake oxygen sensorreading may be corrected for aging, part-to-part variations, and effectsfrom fuel and reductants.

FIG. 1 shows a schematic depiction of an example turbocharged enginesystem 100 including a multi-cylinder internal combustion engine 10 andtwin turbochargers 120 and 130. As one non-limiting example, enginesystem 100 can be included as part of a propulsion system for apassenger vehicle. Engine system 100 can receive intake air via intakepassage 140. Intake passage 140 can include an air filter 156 and an EGRthrottle valve 230. Engine system 100 may be a split-engine systemwherein intake passage 140 is branched downstream of EGR throttle valve230 into first and second parallel intake passages, each including aturbocharger compressor. Specifically, at least a portion of intake airis directed to compressor 122 of turbocharger 120 via a first parallelintake passage 142 and at least another portion of the intake air isdirected to compressor 132 of turbocharger 130 via a second parallelintake passage 144 of the intake passage 140.

The first portion of the total intake air that is compressed bycompressor 122 may be supplied to intake manifold 160 via first parallelbranched intake passage 146. In this way, intake passages 142 and 146form a first parallel branch of the engine's air intake system.Similarly, a second portion of the total intake air can be compressedvia compressor 132 where it may be supplied to intake manifold 160 viasecond parallel branched intake passage 148. Thus, intake passages 144and 148 form a second parallel branch of the engine's air intake system.As shown in FIG. 1, intake air from intake passages 146 and 148 can berecombined via a common intake passage 149 before reaching intakemanifold 160, where the intake air may be provided to the engine.

A first EGR throttle valve 230 may be positioned in the engine intakeupstream of the first and second parallel intake passages 142 and 144,while a second air intake throttle valve 158 may be positioned in theengine intake downstream of the first and second parallel intakepassages 142 and 144, and downstream of the first and second parallelbranched intake passages 146 and 148, for example, in common intakepassage 149.

In some examples, intake manifold 160 may include an intake manifoldpressure sensor 182 for estimating a manifold pressure (MAP) and/or anintake manifold temperature sensor 183 for estimating a manifold airtemperature (MCT), each communicating with controller 12. Intake passage149 can include a charge air cooler (CAC) 154 and/or a throttle (such assecond throttle valve 158). The position of throttle valve 158 can beadjusted by the control system via a throttle actuator (not shown)communicatively coupled to controller 12. An anti-surge valve 152 may beprovided to selectively bypass the compressor stages of turbochargers120 and 130 via bypass passage 150. As one example, anti-surge valve 152can open to enable flow through bypass passage 150 when the intake airpressure downstream of the compressors attains a threshold value.

Intake manifold 160 may further include an intake gas oxygen sensor 172.In one example, the oxygen sensor is a UEGO sensor. As elaboratedherein, the intake gas oxygen sensor may be configured to provide anestimate regarding the oxygen content of fresh air received in theintake manifold. In addition, when EGR is flowing, a change in oxygenconcentration at the sensor may be used to infer an EGR amount and usedfor accurate EGR flow control. In the depicted example, oxygen sensor162 is positioned upstream of throttle 158 and downstream of charge aircooler 154. However, in alternate embodiments, the oxygen sensor may bepositioned upstream of the CAC.

A pressure sensor 174 may be positioned alongside the oxygen sensor forestimating an intake pressure at which an output of the oxygen sensor isreceived. Since the output of the oxygen sensor is influenced by theintake pressure, a reference oxygen sensor output may be learned at areference intake pressure. In one example, the reference intake pressureis a throttle inlet pressure (TIP) where pressure sensor 174 is a TIPsensor. In alternate examples, the reference intake pressure is amanifold pressure (MAP) as sensed by MAP sensor 182.

A humidity sensor 173 may be positioned alongside the intake oxygensensor and the intake pressure sensor. Specifically, as depicted, eachof the humidity sensor 173, intake oxygen sensor 172, and intakepressure sensor 174 are positioned upstream of intake throttle 158 anddownstream of charge air cooler 154 in the engine intake manifold. Thehumidity sensor may be configured to provide an estimate of the ambienthumidity. As elaborated with reference to FIG. 8, a controller mayestimate an ambient humidity while learning a reference point for theintake oxygen sensor at a reference intake pressure and correct thelearned reference point based on the estimated ambient humidity. Thisallows variations in oxygen sensor output due to variations in ambienthumidity to be learned and used for accurately estimating EGR.

Engine 10 may include a plurality of cylinders 14. In the depictedexample, engine 10 includes six cylinders arrange in a V-configuration.Specifically, the six cylinders are arranged on two banks 13 and 15,with each bank including three cylinders. In alternate examples, engine10 can include two or more cylinders such as 3, 4, 5, 8, 10 or morecylinders. These various cylinders can be equally divided and arrangedin alternate configurations, such as V, in-line, boxed, etc. Eachcylinder 14 may be configured with a fuel injector 166. In the depictedexample, fuel injector 166 is a direct in-cylinder injector. However, inother examples, fuel injector 166 can be configured as a port based fuelinjector.

Intake air supplied to each cylinder 14 (herein, also referred to ascombustion chamber 14) via common intake passage 149 may be used forfuel combustion and products of combustion may then be exhausted fromvia bank-specific parallel exhaust passages. In the depicted example, afirst bank 13 of cylinders of engine 10 can exhaust products ofcombustion via a first parallel exhaust passage 17 and a second bank 15of cylinders can exhaust products of combustion via a second parallelexhaust passage 19. Each of the first and second parallel exhaustpassages 17 and 19 may further include a turbocharger turbine.Specifically, products of combustion that are exhausted via exhaustpassage 17 can be directed through exhaust turbine 124 of turbocharger120, which in turn can provide mechanical work to compressor 122 viashaft 126 in order to provide compression to the intake air.Alternatively, some or all of the exhaust gases flowing through exhaustpassage 17 can bypass turbine 124 via turbine bypass passage 123 ascontrolled by wastegate 128. Similarly, products of combustion that areexhausted via exhaust passage 19 can be directed through exhaust turbine134 of turbocharger 130, which in turn can provide mechanical work tocompressor 132 via shaft 136 in order to provide compression to intakeair flowing through the second branch of the engine's intake system.Alternatively, some or all of the exhaust gas flowing through exhaustpassage 19 can bypass turbine 134 via turbine bypass passage 133 ascontrolled by wastegate 138.

In some examples, exhaust turbines 124 and 134 may be configured asvariable geometry turbines, wherein controller 12 may adjust theposition of the turbine impeller blades (or vanes) to vary the level ofenergy that is obtained from the exhaust gas flow and imparted to theirrespective compressor. Alternatively, exhaust turbines 124 and 134 maybe configured as variable nozzle turbines, wherein controller 12 mayadjust the position of the turbine nozzle to vary the level of energythat is obtained from the exhaust gas flow and imparted to theirrespective compressor. For example, the control system can be configuredto independently vary the vane or nozzle position of the exhaust gasturbines 124 and 134 via respective actuators.

Exhaust gases in first parallel exhaust passage 17 may be directed tothe atmosphere via branched parallel exhaust passage 170 while exhaustgases in second parallel exhaust passage 19 may be directed to theatmosphere via branched parallel exhaust passage 180. Exhaust passages170 and 180 may include one or more exhaust after-treatment devices,such as a catalyst, and one or more exhaust gas sensors.

Engine 10 may further include one or more exhaust gas recirculation(EGR) passages, or loops, for recirculating at least a portion ofexhaust gas from the exhaust manifold to the intake manifold. These mayinclude high-pressure EGR loops for proving high-pressure EGR (HP-EGR)and low-pressure EGR-loops for providing low-pressure EGR (LP-EGR). Inone example, HP-EGR may be provided in the absence of boost provided byturbochargers 120, 130, while LP-EGR may be provided in the presence ofturbocharger boost and/or when exhaust gas temperature is above athreshold. In still other examples, both HP-EGR and LP-EGR may beprovided simultaneously.

In the depicted example, engine 10 may include a low-pressure EGR loop202 for recirculating at least some exhaust gas from the first branchedparallel exhaust passage 170, downstream of the turbine 124, to thefirst parallel intake passage 142, upstream of the compressor 122. Insome embodiments, a second low-pressure EGR loop (not shown) may belikewise provided for recirculating at least some exhaust gas from thesecond branched parallel exhaust passage 180, downstream of the turbine134, to the second parallel intake passage 144, upstream of thecompressor 132. LP-EGR loop 202 may include LP-EGR valve 204 forcontrolling an EGR flow (i.e., an amount of exhaust gas recirculated)through the loops, as well as an EGR cooler 206 for lowering atemperature of exhaust gas flowing through the EGR loop beforerecirculation into the engine intake. The LP-EGR valve 204 can bepositioned upstream or downstream of the LP EGR cooler 206. Undercertain conditions, the EGR cooler 206 may also be used to heat theexhaust gas flowing through LP-EGR loop 202 before the exhaust gasenters the compressor to avoid water droplets impinging on thecompressors.

Engine 10 may further include a first high-pressure EGR loop 208 forrecirculating at least some exhaust gas from the first parallel exhaustpassage 17, upstream of the turbine 124, to the intake manifold 160downstream of the engine throttle 158. Likewise, the engine may includea second high-pressure EGR loop (not shown) for recirculating at leastsome exhaust gas from the second parallel exhaust passage 19, upstreamof the turbine 134, to the intake manifold 160 downstream of the enginethrottle 158. EGR flow through HP-EGR loops 208 may be controlled viaHP-EGR valve 210. If two HP-EGR loops are present coupled to each branchof the air induction system, they may each utilize their own HP-EGRvalves 210 or join together prior to and share the same HP-EGR valvebefore introduction into the intake manifold. It will be appreciatedthat as an alternate to the above described single and dual HP-EGR loopconfigurations, HP-EGR may be introduced into intake passages 146 and/or148 instead of into intake manifold 160.

A PCV port 102 may be configured to deliver crankcase ventilation gases(blow-by gases) to the engine intake manifold along second parallelintake passage 144. In some embodiments, flow of PCV air through PCVport 102 may be controlled by a dedicated PCV port valve. Likewise, apurge port 104 may be configured to deliver purge gases from a fuelsystem canister to the engine intake manifold along passage 144. In someembodiments, flow of purge air through purge port 104 may be controlledby a dedicated purge port valve. As elaborated with reference to FIG. 2,the PCV and purge ports in the pre-compressor air induction tube onlyflow into the induction tube during boosted conditions. In non-boostedconditions, purge and PCV air are supplied directly to the intakemanifold. In other words, during boosted conditions, the purge and PCVgases are received upstream of intake oxygen sensor 172, and thereforeaffect the output of the sensor during boosted conditions. Incomparison, during non-boosted conditions, the purge and PCV gases arereceived downstream of intake oxygen sensor 172, and therefore do notaffect the output of the sensor during non-boosted conditions.

Humidity sensor 232 and pressure sensor 234 may be included in only oneof the parallel intake passages (herein, depicted in the first parallelintake air passage 142 but not in the second parallel intake passage144), downstream of EGR throttle valve 230. Specifically, the humiditysensor and the pressure sensor may be included in the intake passage notreceiving the PCV or purge air. Humidity sensor 232 may be configured toestimate a relative humidity of the intake air. In one embodiment,humidity sensor 232 is a UEGO sensor configured to estimate the relativehumidity of the intake air based on the output of the sensor at one ormore voltages. Since purge air and PCV air can confound the results ofthe humidity sensor, the purge port and PCV port are positioned in adistinct intake passage from the humidity sensor. Pressure sensor 234may be configured to estimate a pressure of the intake air. In someembodiments, a temperature sensor may also be included in the sameparallel intake passage, downstream of the EGR throttle valve 230.

As such, intake oxygen sensor 172 may be used for estimating an intakeoxygen concentration and inferring an amount of EGR flow through theengine based on a change in the intake oxygen concentration upon openingof the EGR valve 204. Specifically, a change in the output of the sensorupon opening the EGR valve is compared to a reference point where thesensor is operating with no EGR (the zero point). Based on the change(e.g., decrease) in oxygen amount from the time of operating with noEGR, an EGR flow currently provided to the engine can be calculated.Then, based on a deviation of the estimated EGR flow from the expected(or target) EGR flow, further EGR control may be performed. Aselaborated with reference to FIG. 9, a controller may feed-forwardadjust the opening of the EGR valve based on engine speed-loadconditions while feedback adjusting the EGR valve based on an EGR flowestimated by the oxygen sensor. However, EGR estimation and EGR controlrequires accurate estimation of the zero point. Since the output of theoxygen sensor is impacted by changes in intake pressure, changes inexhaust air-fuel ratio, part-to-part variations, and reductants (such asthose from PCV and purge gases), accurate zero point estimation can becomplicated. Without accurate zero point estimation, however, EGR flowcontrol may be not be reliably performed.

To overcome these issues, a zero point estimation of the intake oxygensensor is performed during idle conditions, herein also referred to asan idle adaptation, and discussed at FIG. 4. By performing theadaptation during idling conditions, where intake pressure fluctuationsare minimal and when no PCV or purge air is ingested into the lowpressure air induction system upstream of the compressor, sensor readingvariations due to those noise factors is reduced. As such, purge and PCVair may flow into the engine during idle via the intake manifold.However, they will not affect the intake oxygen sensor output since theyare ingested downstream of the sensor, directly into the intakemanifold. By also performing the idle adaptation periodically, such asat every first idle following an engine start, the effect of sensoraging and part-to-part variability on the sensor output is alsocorrected for. Overall a more accurate zero point can be learned.

A zero point estimation of the intake oxygen sensor is also performedduring engine non-fueling conditions, such as during a deceleration fuelshut off (DFSO), herein also referred to as a DFSO adaptation, anddiscussed at FIG. 5. By performing the adaptation during DFSOconditions, in addition to reduced noise factors such as those achievedduring idle adaptation, sensor reading variations due to EGR valveleakage is also reduced.

Returning to FIG. 1, the position of intake and exhaust valves of eachcylinder 14 may be regulated via hydraulically actuated lifters coupledto valve pushrods, or via direct acting mechanical buckets in which camlobes are used. In this example, at least the intake valves of eachcylinder 14 may be controlled by cam actuation using a cam actuationsystem. Specifically, the valve cam actuation system 25 may include oneor more cams and may utilize variable cam timing or lift for intakeand/or exhaust valves. In alternative embodiments, the intake valves maybe controlled by electric valve actuation. Similarly, the exhaust valvesmay be controlled by cam actuation systems or electric valve actuation.

Engine system 100 may be controlled at least partially by a controlsystem 15 including controller 12 and by input from a vehicle operatorvia an input device (not shown). Control system 15 is shown receivinginformation from a plurality of sensors 16 (various examples of whichare described herein) and sending control signals to a plurality ofactuators 81. As one example, sensors 16 may include humidity sensor232, intake air pressure sensor 234, MAP sensor 182, MCT sensor 183, TIPsensor 174, and intake air oxygen sensor 172. In some examples, commonintake passage 149 may further include a throttle inlet temperaturesensor for estimating a throttle air temperature (TCT). In otherexamples, one or more of the EGR passages may include pressure,temperature, and air-to-fuel ratio sensors, for determining EGR flowcharacteristics. As another example, actuators 81 may include fuelinjector 166, HP-EGR valve 210, LP-EGR valve 204, throttle valves 158and 230, and wastegates 128, 138. Other actuators, such as a variety ofadditional valves and throttles, may be coupled to various locations inengine system 100. Controller 12 may receive input data from the varioussensors, process the input data, and trigger the actuators in responseto the processed input data based on instruction or code programmedtherein corresponding to one or more routines. Example control routinesare described herein with regard to FIGS. 4-6 and 8.

Now turning to FIG. 2, another example embodiment 200 of the engine ofFIG. 1 is shown. As such, components previously introduced in FIG. 1 arenumbered similarly and not re-introduced here for reasons of brevity.

Embodiment 200 shows a fuel tank 218 configured to deliver fuel toengine fuel injectors. A fuel pump (not shown) immersed in fuel tank 218may be configured to pressurize fuel delivered to the injectors ofengine 10, such as to injector 166. Fuel may be pumped into the fueltank from an external source through a refueling door (not shown). Fueltank 218 may hold a plurality of fuel blends, including fuel with arange of alcohol concentrations, such as various gasoline-ethanolblends, including E10, E85, gasoline, etc., and combinations thereof. Afuel level sensor 219 located in fuel tank 218 may provide an indicationof the fuel level to controller 12. As depicted, fuel level sensor 219may comprise a float connected to a variable resistor. Alternatively,other types of fuel level sensors may be used. One or more other sensorsmay be coupled to fuel tank 218 such as a fuel tank pressure transducer220 for estimating a fuel tank pressure.

Vapors generated in fuel tank 218 may be routed to fuel vapor canister22, via conduit 31, before being purged to engine intake 23. These mayinclude, for example, diurnal and refueling fuel tank vapors. Thecanister may be filled with an appropriate adsorbent, such as activatedcharcoal, for temporarily trapping fuel vapors (including vaporizedhydrocarbons) generated in the fuel tank. Then, during a later engineoperation, when purge conditions are met, such as when the canister issaturated, the fuel vapors may be purged from the canister into theengine intake by opening canister purge valve 112 and canister ventvalve 114.

Canister 22 includes a vent 27 for routing gases out of the canister 22to the atmosphere when storing, or trapping, fuel vapors from fuel tank218. Vent 27 may also allow fresh air to be drawn into fuel vaporcanister 22 when purging stored fuel vapors to engine intake 23 viapurge lines 90 or 92 (depending on boost level) and purge valve 112.While this example shows vent 27 communicating with fresh, unheated air,various modifications may also be used. Vent 27 may include a canistervent valve 114 to adjust a flow of air and vapors between canister 22and the atmosphere. The vent valve may be opened during fuel vaporstoring operations (for example, during fuel tank refueling and whilethe engine is not running) so that air, stripped of fuel vapor afterhaving passed through the canister, can be pushed out to the atmosphere.Likewise, during purging operations (for example, during canisterregeneration and while the engine is running), the vent valve may beopened to allow a flow of fresh air to strip the fuel vapors stored inthe canister.

Fuel vapors released from canister 22, for example during a purgingoperation, may be directed into engine intake manifold 160 via purgeline 28. The flow of vapors along purge line 28 may be regulated bycanister purge valve 112, coupled between the fuel vapor canister andthe engine intake. The quantity and rate of vapors released by thecanister purge valve may be determined by the duty cycle of anassociated canister purge valve solenoid (not shown). As such, the dutycycle of the canister purge valve solenoid may be determined by thevehicle's powertrain control module (PCM), such as controller 12,responsive to engine operating conditions, including, for example,engine speed-load conditions, an air-fuel ratio, a canister load, etc.

An optional canister check valve (not shown) may be included in purgeline 28 to prevent intake manifold pressure from flowing gases in theopposite direction of the purge flow. As such, the check valve may benecessary if the canister purge valve control is not accurately timed orthe canister purge valve itself can be forced open by a high intakemanifold pressure. An estimate of the manifold absolute pressure (MAP)may be obtained from MAP sensor 182 coupled to intake manifold 160, andcommunicated with controller 12. Alternatively, MAP may be inferred fromalternate engine operating conditions, such as mass air flow (MAF), asmeasured by a MAF sensor coupled to the intake manifold.

Purge hydrocarbons may be directed to intake manifold 160 via either aboost path 92 or a vacuum path 90 based on engine operating conditions.Specifically, during conditions when turbocharger 120 is operated toprovide a boosted aircharge to the intake manifold, the elevatedpressure in the intake manifold causes one-way valve 94 in the vacuumpath 90 to close while opening one-way valve 96 in the boost path 92. Asa result, purge air is directed into the air intake passage 140,downstream of air filter 156 and upstream of charge air cooler 154 viathe boost path 92. Herein, the purge air is introduced upstream ofintake oxygen sensor 172. In some embodiments, as depicted, a venturi 98may be positioned in the boost path such that the purge air is directedto the intake upon passing through the venturi and passage 99. Thisallows the flow of compressor bypass air to be advantageously harnessedfor enhanced purge flow.

During conditions when engine 10 is operated without boost, elevatedvacuum in the intake manifold causes one-way valve 94 in the vacuum pathto open while closing one-way valve 96 in the boost path. As a result,purge air is directed into the intake manifold 160, downstream ofthrottle 158 via the vacuum path 90. Herein, the purge air is introduceddownstream of intake oxygen sensor 172, directly into intake manifold160, and therefore does not affect the output of oxygen sensor 172. Incomparison, during conditions when engine 10 is operated with boost, thepurge air is introduced upstream of intake oxygen sensor 172, andtherefore does affect the output of oxygen sensor 172.

PCV hydrocarbons may also be directed to intake manifold 160 via eithera boost side PCV hose 252 or a vacuum side PCV hose 254 based on engineoperating conditions. Specifically, blow-by gases from engine cylinders14 flow past the piston rings and enter crankcase 255. During conditionswhen turbocharger 120 is operated to provide a boosted aircharge to theintake manifold, the elevated pressure in the intake manifold causesone-way valve 256 in vacuum side PCV hose 254 to close. As a result, PCVair is directed into the air intake passage 140, downstream of airfilter 156 and upstream of charge air cooler 154 via boost side PCV hose252. The PCV flow may be directed to the intake passage upon passagethrough a boost side oil separator 260. The boost side oil separator maybe integrated into the cam cover or may be an external component. Thus,during boosted conditions, the PCV gases are introduced upstream ofintake oxygen sensor 172 therefore do affect the output of oxygen sensor172.

In comparison, during conditions when engine 10 is operated withoutboost, elevated vacuum in the intake manifold causes one-way valve 256in the vacuum side PCV hose 254 to open. As a result, PCV air isdirected into the intake manifold 160, directly, downstream of throttle158 via the vacuum side PCV hose 254. Herein, the PCV air is introduceddownstream of intake oxygen sensor 172, and therefore does not affectthe output of oxygen sensor 172.

Thus, due to the specific engine configuration, during engine idleconditions, when no boosted aircharge is provided, a reference point(herein also referred to as the zero point) of the intake air sensor maybe learned without incurring interference from PCV and purge airhydrocarbons.

As such, the intake air oxygen sensor can be used to measure the amountof EGR in the intake aircharge as a function of the amount of change inoxygen content due to the addition of EGR as a diluent. Thus, as moreEGR is introduced, a sensor output corresponding to a lower oxygenconcentration may be output. However, to accurately determine thischange in the amount of oxygen, it is important to know the oxygenreading of the sensor when no EGR is present. This reference point, alsoknown as a zero point, needs to be calibrated and learned. However, thezero point reading has a large range of values that vary based on intakepressure, sensor age, and part-to-part variation, rendering accurate EGRmeasurement difficult.

FIG. 3 depicts this variation in the reading of the intake sensor.Specifically, map 300 depicts intake pressure along the x-axis and apumping current output by the sensor, upon application of a referencevoltage, along the y-axis. Plots 301 a-d show a first set of intakeoxygen sensor outputs at a first condition with no EGR. Plots 302 a-d,303 a-d, and 304 a-d show the sensor outputs at gradually increasing EGRlevels, with 304 a-d representing a nominal EGR percentage.

As can be seen by comparing the output at any given intake pressure(compare 301 a to 301 b,c, and d, and likewise for each set), a largeamount of piece to piece variation occurs in the base oxygen measurementoutput by the sensor. As such, this piece-to-piece variation accountsfor the largest amount of variation in the output of a given sensor. Inaddition, aging of the sensor adds to the variation. The variation makeslearning of the zero point difficult, confounding the results of an EGRestimation.

As elaborated with reference to FIG. 4, the variation can be reduced byperforming an idle adaptation for the sensor at each engine start.Specifically, at the first engine idle since every engine start, a zeropoint of the sensor may be learned and updated. This allows part-to-partvariation and sensor aging to be learned and compensated for. By thenusing the most recently learned zero point as a reference for EGRestimation, EGR amounts can be determined more accurately and reliably.

Now turning to FIG. 4, an example routine 400 for learning a zero pointof an intake oxygen sensor during selected engine idling conditions isshown. The method allows for a reference point of the sensor to beaccurately learned without being confounded by PCV or purgehydrocarbons. In addition by learning the relationship between theintake pressure and the oxygen sensor output, oxygen concentrations andEGR flow can be measured accurately even if there is any inaccuracy ineither sensor.

At 402, the routine includes estimating and/or measuring engineoperating conditions. These may include, for example, engine speed,torque demand, barometric pressure, engine temperature, etc. Next it maybe determined if selected engine idling conditions are present. Aselaborated below at 404 and 406, the selected engine idling conditionsmay include a first engine idle since installation of one of a newintake oxygen sensor or new intake pressure sensor, or a first engineidle since an engine start.

Specifically, at 404, it may be determined if a new intake air oxygen(IAO2) sensor or a new intake pressure sensor was installed in thevehicle. For example, it may be determined if a new sensor was installedsince the last engine shut-down and the current engine start. In oneexample, following installation of a new sensor, an indication thatcalibration of the new sensor is required may be received at thecontroller.

If a new oxygen sensor or pressure sensor was installed, then at 405,the routine includes resetting the previously learned adaptive values ofthe intake air oxygen sensor. That is, the previously learned zero pointand pressure correction factors saved in a look-up table of thecontroller's memory (e.g., in the KAM) may be reset. Then, the table maybe repopulated with data from the current zero point learning, andsubsequent iterations of the routine.

If a new oxygen or pressure sensor was not installed, or after resettingthe table if a new sensor was installed, the routine proceeds to 406 toconfirm a first engine idle condition since the current engine start. Ifa first engine idle condition is not confirmed, at 407, the look-uptable in the controller's memory may not be further updated and thecurrent zero point readings may be used. As such, by re-learning thereference point each time a new sensor is installed, differences inoxygen sensor readings due to part-to-part variations can be betteraccounted for. By updating and re-learning the reference point on eachengine start, differences in oxygen sensor readings due to sensor agingcan be better accounted for.

Upon confirmation of a first engine idle condition since the currentengine start, at 408, the routine includes learning a reference pointfor the intake oxygen sensor at a reference intake pressure during theselected engine idling condition. Specifically, the controller may learnthe oxygen sensor output at the first engine idle condition and may alsonote the reference intake pressure at which the oxygen sensor output waslearned. The controller may update the look-up table saved in thecontroller's KAM with the oxygen sensor output learned at the givenpressure. In one example, the reference intake pressure is a throttleinlet pressure estimated by a TIP sensor coupled to the intake manifoldat a location similar to the oxygen sensor (e.g., downstream of thecharge air cooler and upstream of the intake throttle). In anotherexample, the reference intake pressure is a manifold pressure estimatedby a MAP sensor coupled to the intake manifold at a location similar tothe oxygen sensor.

As such, learning the reference point includes learning a relationshipbetween a first output of the intake oxygen sensor at a first intakepressure during the first engine idle since start, and then using thelearned relationship, the idle reference oxygen (iao2_ref) at thereference pressure (iao2_ref_press) is calculated. It is calculated bydetermining a correction factor (iao2_press_corr) as:

iao2_press_corr=a0+a1*(iao2_ref_press−iao2_press)+a2*(iao2_ref_press−iao2_press)²

The idle reference oxygen is then calculated as:iao2_ref=iao2_o2*iao2_press_corr

By performing this learning during idle conditions, various advantagesare achieved. First, any error caused due to noise factors from purge orPCV hydrocarbons is reduced. Second, since pressure changes at theintake oxygen sensor location are minimal during idle conditions,changes in the oxygen sensor output due to the pressure effect (asdescribed at FIG. 3) are also minimized. Overall, a more accurate zeropoint learning can be achieved.

At 410, the intake oxygen sensor output is corrected for humidity. Aselaborated with reference to FIG. 8, the output of the intake oxygensensor estimated at the reference pressure is corrected with acorrection factor based on ambient humidity. This may include correctingfor no humidity (that is, zero % humidity or dry conditions) wherein theoutput of the oxygen sensor is corrected by removing all thecontribution of humidity. Alternatively, this may include correcting toa known standard or reference humidity level. For example, the oxygensensor output may be corrected to a reference 1.2% of humidity.

At 412, it may be determined if the idle adaptation is complete. Assuch, the intake oxygen sensor readings at the given reference intakepressure may be monitored for a duration of the first engine idle sincethe engine start and the look-up table may be continue to be populatedover the duration with readings from the intake oxygen sensor. In oneexample, when the idle adaptation is initiated at 408, a timer may bestarted and at 412, it may be determined if a threshold duration haselapsed on the timer. In one example, the idle adaptation may becomplete if 15 seconds has elapsed.

Upon confirming that the idle adaptation has been completed, at 414, theroutine includes calculating a pressure correction factor. The pressurecorrection factor is a factor that compensates for the effect of intakepressure on the output of the intake oxygen sensor. The pressurecorrection factor is determined by taking the ratio of the measuredoxygen and the reference oxygen reading (iao2_ref), the reference oxygenreading being the reference oxygen reading of the intake oxygen sensorat the reference pressure. Nominally, the reference pressure may be 100kPa. The pressure correction adaptation may be performed by calculatinga pressure correction factor based on the output of the intake oxygensensor (iao2_o2) relative to the zero point (iao2_ref) of the sensor(that is, iao2_o2/iao2_ref). In addition, a delta pressure may also bedetermined based on the reference pressure, wherein the delta pressureis calculated as TIP−iao2_ref_press. Herein, TIP may be the same asboost pressure. The delta pressure is calculated as the differencebetween the measured boost pressure TIP and the reference pressure. Thedelta pressure from the reference pressure provides information aboutthe change in oxygen reading from iao2_ref versus the change in thepressure from the reference pressure. The reference pressure correspondswith the pressure at which iao2_ref was determined.

At 418, the routine includes calculating and learning the zero point ofthe intake oxygen sensor. This may include, for example, performing arecursive least squares adaptation for pressure correction. Thecorrection may be denoted as:

Iao2_press_corr_new=a2*dp_corr²+a1*dp_corr+a0, wherein a0, a1, and a2are pressure correction coefficients, and dp_corr is the delta pressurecorrection (that is, delta pressure from reference pressure).

Once the zero point is learned, an EGR flow to the engine can beadjusted based on an output of the intake oxygen sensor during EGRconditions, as elaborated at FIG. 9. Therein, an EGR flow to the engineis adjusted based on an intake oxygen concentration estimated by theintake oxygen sensor relative to the learned reference point, andfurther based on a change in intake pressure relative to the referenceintake pressure (where the reference point was learned).

At 420, the routine includes diagnosing an EGR valve based on the zeropoint estimated during the idle adaptation relative to a zero pointestimated during selected engine non-fueling conditions, such as duringa deceleration fuel shut off (DFSO) adaptation. An example DFSOadaptation is described in FIG. 5. As such, the zero point learnedduring the idle adaptation may be a first learned reference point, whilethe zero point learned during the DFSO adaptation may be a secondlearned reference point (both learned at a given reference intakepressure). As elaborated at FIG. 6, the controller may indicate EGRvalve degradation based on a difference between the first learnedreference point and the second learned reference point being larger thana threshold amount.

As such, while the idle adaptation performed during idle conditionsremoves the effect of purge and PCV hydrocarbons on the intake oxygensensor output, as well as the effect of pressure variations, the idleadaptation is susceptible to EGR leakage. Thus, if the EGR valve isleaking, assuming there is no EGR backflow, EGR may flow over the intakeoxygen sensor even during the idle conditions. As a result, the outputfrom the oxygen sensor output may be lower than the actual value. Incomparison, an adaptation performed during DFSO is insensitive to theeffect of a leaking EGR valve. This is because even if the valve wereleaking, the leaking “EGR” would be air since no fuel is being injectedduring these conditions. As a result, the exhaust leak does not affectthe output of the oxygen sensor. Thus, by comparing the zero pointlearned during the idle adaptation with the zero point learned duringthe DFSO adaptation, EGR valve leakage can be identified.

An example idle adaptation is shown with reference to FIG. 7. Map 700depicts an idle adaptation timer at plot 702, and a change in oxygenconcentration sensed by the intake oxygen sensor at plot 704.

Prior to t1, idle adaptation conditions may not be present. At t1, afirst engine idle since an engine start may be confirmed and an idleadaptation timer may be started. Plot 704 (solid line) shows a zeropoint of the intake oxygen sensor relative to an expected value 708.Plot 706 (dashed line) shows the intake sensor output. As such, prior tothe idle adaptation, the deviation of the estimated zero point from theexpected zero point is larger. Then, during the adaptation, based on thesensor reading (plot 706), the zero point is corrected and the learnedzero point gradually merges with the expected value. At t2, the idleadaptation is completed and the learned zero point is used for accurateEGR control.

In one example, a method for an engine comprises: learning arelationship between a first intake oxygen sensor output estimated at afirst intake pressure during a first engine idle since engine start, andadjusting EGR flow to the engine at a second intake pressure based on asecond intake oxygen sensor output estimated at the second intakepressure and the learned relationship. The adjusting includescalculating a pressure correction factor based on a difference betweenthe first intake pressure and the second intake pressure, calculating ahumidity correction factor based on a difference between ambienthumidity at the second intake pressure and a reference humidity,modifying the second intake oxygen sensor output based on each of thecalculated pressure correction factor, humidity correction factor, andthe learned relationship, and adjusting a position of an EGR valve basedon the modified second intake oxygen sensor output. The EGR valve may becoupled in a low pressure EGR passage and wherein the learning isperformed at a first engine idle following each engine restart. Herein,each of the first and second intake oxygen sensor output is generated byan intake oxygen sensor coupled upstream of an intake throttle anddownstream of a charge air cooler, and each of the first and secondintake pressure is estimated by an intake pressure sensor coupledupstream of the intake throttle and downstream of the charge air cooler.The learning is performed at a first engine idle following installationof one or more of the intake oxygen sensor and the intake pressuresensor in the engine, so as to correct for part-to-part variations aswell as sensor aging. In addition, degradation of the EGR valve can beindicated based on the first intake oxygen sensor output estimated atthe first intake pressure during the first engine idle since enginestart relative to a second intake oxygen sensor output estimated at thefirst intake pressure during an engine deceleration fuel shut-offcondition.

Now turning to FIG. 5, an example routine 500 for learning a zero pointof an intake oxygen sensor during selected engine non-fueling conditionsis shown. The method allows for a reference point of the sensor to beaccurately learned without being confounded by EGR valve leakage.

At 502, as at 402, the routine includes estimating and/or measuringengine operating conditions. These may include, for example, enginespeed, torque demand, barometric pressure, engine temperature, etc. Nextit may be determined if selected engine non-fueling conditions arepresent. As elaborated below, the selected engine non-fueling conditionsmay include a deceleration fuel shut-off condition. The routine may berepeated at the first DFSO event after every engine start and/or thefirst DFSO event after a new oxygen or pressure sensor is installed.

At 504, it may be determined if a new intake air oxygen (IAO2) sensor ora new intake pressure sensor was installed in the vehicle. For example,it may be determined if a new sensor was installed since the last engineshut-down and the current engine start. In one example, followinginstallation of a new sensor, an indication that calibration of the newsensor is required may be received at the controller.

If a new oxygen sensor or pressure sensor was installed, then at 505,the routine includes resetting the previously learned adaptive values ofthe intake air oxygen sensor. That is, the previously learned zero pointand pressure correction factors saved in a look-up table of thecontroller's memory (e.g., in the KAM) may be reset. Then, the table maybe repopulated with data from the current zero point learning, andsubsequent iterations of the DFSO adaptation routine.

If a new oxygen or pressure sensor was not installed, or after resettingthe table if a new sensor was installed, the routine proceeds to 506 toconfirm if engine non-fueling conditions are present. Specifically, adeceleration fuel shut off (DFSO) condition may be confirmed. If a DFSOcondition is not confirmed, at 507, the look-up table in thecontroller's memory may not be further updated and the current zeropoint readings may be used. As such, by re-learning the reference pointeach time a new sensor is installed, differences in oxygen sensorreadings due to part-to-part variations can be better accounted for. Byupdating and re-learning the reference point on each engine start,differences in oxygen sensor readings due to sensor aging can be betteraccounted for.

Upon confirmation of the DFSO condition, at 508, the routine includeslearning a reference point for the intake oxygen sensor at a referenceintake pressure during the non-fueling condition. Specifically, thecontroller may learn the oxygen sensor output at the first engine idlecondition and may also note the reference intake pressure at which theoxygen sensor output was learned. The controller may update the look-uptable saved in the controller's KAM with the oxygen sensor outputlearned at the given pressure. In one example, the reference intakepressure is a throttle inlet pressure estimated by a TIP sensor coupledto the intake manifold at a location similar to the oxygen sensor (e.g.,downstream of the charge air cooler and upstream of the intakethrottle). In another example, the reference intake pressure is amanifold pressure estimated by a MAP sensor coupled to the intakemanifold at a location similar to the oxygen sensor.

As such, learning the reference point includes learning a relationshipbetween a first output of the intake oxygen sensor at a first intakepressure during the first DFSO event since engine start, and then usingthe learned relationship to determine the zero point. The learnedrelationship is used to determine the zero point by calculating theoxygen reading at the reference pressure, by substituting the deltapressure from the reference pressure. By performing this learning duringDFSO conditions, various advantages are achieved. First, any errorcaused due to noise factors from purge or PCV hydrocarbons is reduced.Second, errors due to EGR valve leakage are reduced. This is becauseduring the non-fueling conditions, any leaked “EGR” is the same as theintake air. Overall, a more accurate zero point learning can beachieved.

At 510, the intake oxygen sensor output is corrected for humidity. Aselaborated with reference to FIG. 8, the output of the intake oxygensensor estimated at the reference pressure is corrected with acorrection factor based on ambient humidity. As such, this may includecorrecting for no humidity (that is, zero % humidity or dry conditions)wherein the output of the oxygen sensor is corrected by removing all thecontribution of humidity. Alternatively, this may include correcting toa known standard or reference humidity level. For example, the oxygensensor output may be corrected to a reference 1.2% of humidity.

At 512, it may be determined if the DFSO adaptation is complete. Assuch, the intake oxygen sensor readings at the given reference intakepressure may be monitored for a duration of the DFSO and the look-uptable may be continue to be populated over the duration with readingsfrom the intake oxygen sensor. In one example, when the DFSO isinitiated at 508, a timer may be started and at 512, it may bedetermined if a threshold duration has elapsed on the timer. In oneexample, the DFSO adaptation may be complete if 4 seconds has elapsed.

Upon confirming that the DFSO adaptation has been completed, at 514, theroutine includes calculating a pressure correction factor. The pressurecorrection factor is a factor that compensates for the effect of intakepressure on the output of the intake oxygen sensor. The pressurecorrection adaptation may be performed by calculating a pressurecorrection factor based on the output of the intake oxygen sensor(iao2_o2) relative to the zero point (iao2_ref) of the sensor (that is,iao2_o2/iao2_ref). In addition, a delta pressure may also be determinedbased on the reference pressure, wherein the delta pressure iscalculated as TIP−iao2_ref_press. Herein, TIP may be the same as boostpressure. At idle condition, the reference intake oxygen and preferenceintake pressure are determined. The pressure correction factor at agiven pressure condition is calculated as the ratio of intake oxygensensor reading and the reference oxygen concentration (that is,iao2_o2/iao2_ref). This corrected factor is learned as a relationbetween the delta pressure and the reference pressure. By doing this,the pressure input into the relationship is normalized to the referencepressure.

At 518, the routine includes calculating and learning the zero point ofthe intake oxygen sensor. This may include, for example, performing arecursive least squares adaptation for pressure correction. Thecorrection may be denoted as:

Iao2_press_corr_new=a2*dp_corr²+a1*dp_corr+a0, wherein a0, a1, and a2are pressure correction coefficients, and dp_corr is the delta pressurecorrection.

Once the zero point is learned, an EGR flow to the engine can beadjusted based on an output of the intake oxygen sensor during EGRconditions, as elaborated at FIG. 9. Therein, an EGR flow to the engineis adjusted based on an intake oxygen concentration estimated by theintake oxygen sensor relative to the learned reference point, andfurther based on a change in intake pressure relative to the referencepoint

At 520, the routine includes diagnosing an EGR valve based on the zeropoint estimated during the DFSO adaptation relative to a zero pointestimated during an idle adaptation. An example idle adaptation isdescribed in FIG. 4. As such, the zero point learned during the idleadaptation may be a first learned reference point, while the zero pointlearned during the DFSO adaptation may be a second learned referencepoint (both learned at a given reference intake pressure). As elaboratedat FIG. 6, the controller may indicate EGR valve degradation based on adifference between the first learned reference point and the secondlearned reference point being larger than a threshold amount.

Turning now to FIG. 8. An example routine 800 is shown for correcting anominal output of an intake oxygen sensor during zero point learningbased on an ambient humidity estimate. The routine allows for oxygendisplaced by the humidity to be accounted for.

At 802, the routine includes confirming that zero point learning isenabled. Specifically, it may be confirmed that either idle adaptationor DFSO adaptation of the intake oxygen sensor is being performed, aspreviously discussed with reference to FIGS. 4-5.

Upon confirmation, at 804, the routine includes learning a referencepoint for the intake oxygen sensor at a reference intake pressure. Thisincludes learning a nominal amount of oxygen based on an output of theintake oxygen sensor at the reference intake pressure during selectedengine idling conditions or selected engine non-fueling conditions. Assuch, the reference intake pressure is one of a throttle inlet pressureand an intake manifold pressure. The selected engine idling conditionsinclude a first engine idle since an engine start, a first engine idlesince installation of the intake oxygen sensor or installation of anintake pressure sensor configured to estimate the reference intakepressure. The selected non-fueling conditions include a decelerationfuel shut-off condition.

At 806, an intake oxygen concentration is estimated based on the sensoroutput. At 808, ambient humidity is estimated, for example, via anintake manifold humidity sensor (such as sensor 173 of FIG. 1). At 810,the routine includes calculating an amount of oxygen displaced by theestimated ambient humidity. As such, the change in oxygen concentrationdue to humidity may be defined as per the equation:

O₂MeasuredConcentration=21%/1+volume % gwater,

wherein O₂MeasuredConcentration is the measured oxygen concentrationwith volume % water (fraction) amount of water in air (that is,humidity).

At 812, it may be determined if the nominal oxygen concentration is tobe corrected based on the ambient humidity to reflect dry conditions orstandard humidity conditions. In one example, during a first condition(at 814), the reference point may be calibrated to dry conditions (zerohumidity) where the effect of all humidity is removed from the oxygensensor output. In another example, during a second condition (at 816),the reference point may be calibrated to standard humidity conditionswhere the effect of humidity on the oxygen sensor output is corrected topre-defined humidity conditions. An example of a standard humiditycondition may be a humidity of 8 g/kg or 1.28%.

If dry condition calibration is selected, then at 814, the routineincludes correcting the learned reference point by adding the calculatedamount of oxygen to the learned nominal amount of oxygen. This correctsthe reference point to dry air conditions (that is, zero humidity) andthe effect of all humidity on the oxygen sensor output is removed. Theroutine then moves to 820 to update the zero point value in the adaptivevalues table. Specifically, the corrected zero point is learned withrelation to the reference intake pressure and stored in the controller'smemory.

If the standard humidity condition calibration is selected, then at 816,the routine includes adding the calculated amount of oxygen to thelearned nominal amount of oxygen, as at 814. Then, at 818, aftercorrecting the reference point to dry air, the routine includes furthercalibrating the reference point to a standard humidity level. In oneexample, the standard humidity level is 1.2% humidity. The routine thenproceeds to 520 to update the zero point value in the adaptive valuestable.

As such, the humidity corrected zero point is then used to estimate EGRand adjust EGR flow. For example, the controller may subsequently (thatis, after learning and during engine non-idling conditions) adjust EGRflow to the engine based on an intake oxygen concentration estimated bythe sensor relative to the corrected reference point, and further basedon a change in intake pressure from the reference intake pressure.

In one example, the intake oxygen sensor reading may correspond to 19.5%oxygen and the estimated ambient humidity read by the humidity sensormay be 30 grams/KG of air. The humidity reading may be converted tomolar percent of water as per the calculation 100*(30/1000)*29/18=4.83%,where 29 is the molecular weight of air and 18 is the molecular weightof water. The 4.83% water displaces an amount of oxygen corresponding to4.83*21/100=1.01% oxygen, where 21 is the atmospheric dry oxygenreading. The corrected dry air reading of the intake oxygen sensor isthen calculated as 19.5% (intake air sensor reading)+1.01% (humiditycorrection)=20.5%.

Alternatively, the dry air oxygen reading learned above is furtheradjusted to a standard humidity level oxygen reading. Therein, thehumidity sensor information is used to calculate the dry air oxygenreading which is then adjusted with the amount of oxygen that would bedisplaceable by a calibratable amount of humidity. With reference to theabove example, if the calibratable amount of humidity is 10 g/KG of air,the displaced oxygen corresponding to this amount of humidity would be0.34%. The nominal intake oxygen sensor reading would then be adjustedto 20.5% (dry air reading) −0.34% (displaced oxygen for the calibratedhumidity level)=20.16%.

As another example, an engine system may comprise an engine including anintake manifold, a turbocharger including an exhaust turbine and anintake compressor, a charge air cooler coupled downstream of thecompressor, and an intake oxygen sensor coupled to the intake manifolddownstream of the charge air cooler and upstream of an intake throttle.Alternatively, the intake oxygen sensor can be located upstream of theCAC if the total LP-EGR concentration going to the engine is well mixed.The engine system may further include a pressure sensor coupled to theintake manifold downstream of the charge air cooler and upstream of theintake throttle, as well as a humidity sensor coupled to the intakemanifold downstream of the charge air cooler and upstream of an intakethrottle. An EGR system may be included in the engine including an EGRpassage and EGR valve for recirculating exhaust residuals fromdownstream of the turbine to upstream of the compressor. An enginecontroller may be configured with computer readable instructions for:during a first engine idle since an engine start, learning an oxygensensor output and a humidity sensor output at a reference intakepressure and adjusting the oxygen sensor output based on the humiditysensor output. Then, during subsequent engine non-idle conditions, thecontroller may be configured to adjust an opening of the EGR valve basedon an intake oxygen concentration estimated by the intake oxygen sensorrelative to the reference oxygen sensor output, and further based on anintake pressure relative to the reference intake pressure. Herein,adjusting the oxygen sensor output based on the humidity sensor outputincludes, during a first condition at idle, estimating a first amount ofoxygen displaced by total humidity based on the humidity sensor outputand adjusting (e.g., increasing) the reference oxygen sensor output foreither dry or standard humidity conditions. In comparison, during asecond condition, such as non-idle conditions, the oxygen sensor canreliably predict the oxygen concentration and adjust the EGR valveaccordingly having been previously corrected for part to partvariations, change over time and variable humidity levels.

In this way, a controller may correct a first, nominal output of anintake oxygen sensor, learned during selected engine idling conditionsat a reference intake pressure, based on an measured ambient humidity.The selected engine idling conditions include one of a first engine idlefrom engine start, a first engine idle following installation of theintake oxygen sensor, and a first engine idle following installation ofan intake pressure sensor. The controller may then adjust EGR flow tothe engine based on a second output of the sensor, estimated at a secondintake pressure, relative to the corrected first output. The EGR flowmay be further adjusted based on the second intake pressure relative tothe reference intake pressure.

The correcting performed by the controller may include calculating anamount of oxygen displaced by the estimated ambient humidity, andincreasing the first output to include the amount of displaced oxygen,wherein the increased first output is indicative of a dry air oxygencontent. In this way, the effect of all humidity is removed from theoxygen sensor output. The correcting may alternatively further includeadjusting the increased first output based on an amount of oxygendisplaceable by a calibrated humidity level, the adjusted outputindicative of a calibrated humidity air oxygen content. In this way, theoxygen sensor output is calibrated to a standard humidity level.

The controller may adjust the EGR flow by estimating a delivered EGRflow based on a difference between the second output and the correctedfirst output, and adjusting a position of an EGR valve based on adifference between the delivered EGR flow and a target EGR flow, whereinthe target EGR flow based on engine speed-load conditions.

Now turning to FIG. 6, an example routine 600 for diagnosing an EGRvalve coupled to a low pressure EGR system based on intake oxygen sensorreference points learned during an idle adaptation and a DFSO adaptationis shown. The method allows an EGR valve leak to be identified andcompensated for.

At 602, the routine includes retrieving a first reference point learnedduring an idle adaptation (ref idle) such as the idle adaptation of FIG.4. At 604, the routine includes retrieving a second reference pointlearned during a DFSO adaptation (ref DFSO) such as the DFSO adaptationof FIG. 5. At 606, the two reference points may be compared and it maybe determined if there are any discrepancies between them. Specifically,it may be determined if the first reference point is within a thresholdrange of the second reference point, or if they differ by more than athreshold amount. The controller may then indicate EGR valve leakagebased on the first reference point of the intake oxygen sensor learnedduring engine idling conditions relative to the second reference pointof the oxygen sensor learned during engine non-fueling conditions.Specifically, at 610, EGR valve leakage is indicated based on adifference between the first reference point and the second referencepoint being larger than a threshold. The controller may indicate the EGRvalve degradation by setting a diagnostic code. In comparison, at 608,no EGR valve leakage is indicated when the difference is smaller thanthe threshold.

As discussed at FIG. 9, based on the indication of EGR valve leakage,EGR control responsive to an output of the intake oxygen sensor may beadjusted. Specifically, in response to the indication of no EGR valveleakage, the EGR valve may be feed-forward adjusted based on enginespeed-load conditions and feedback adjusted based on an output of theintake manifold sensor relative to one of the first and second referencepoint. In comparison, in response to an indication of EGR valve leakage,the controller may continue feed-forward adjusting the EGR valve basedon engine speed-load conditions but may terminate feedback adjusting ofthe EGR valve based on the output of the intake manifold sensor relativeto one of the first and second reference point.

As used herein, indication EGR valve degradation includes indicatingleakage of an EGR valve coupled to a low pressure EGR passage configuredto recirculate exhaust residuals from an exhaust manifold, downstream ofa turbine to an intake manifold, upstream of a compressor. The intakeoxygen sensor may be coupled to the engine intake manifold, upstream ofan intake throttle and either upstream or downstream of a charge aircooler, the cooler coupled downstream of the compressor. Herein, each ofthe first and second reference points are learned at a reference intakepressure, the reference intake pressure estimated by an intake pressuresensor coupled to the engine intake manifold, upstream of the intakethrottle and downstream of the charge air cooler.

Now turning to FIG. 9, routine 900 depicts an example method forperforming EGR control using the output of an intake manifold oxygensensor relative to a zero point of the sensor learned during an idleadaptation and/or a DFSO adaptation. The method further adjusts thefeed-forward feedback components of EGR control based on any indicationof EGR valve degradation.

At 902, the output of an intake manifold oxygen sensor is received. Anintake pressure at which the output was received is also noted since theoutput is affected by intake pressure. At 904, a pressure correction ofthe output is performed based on the intake pressure at which the sensoroutput was taken relative to a reference intake pressure. Also at 904, adifference between the pressure-corrected oxygen sensor output and thezero point of the oxygen sensor is learned. As such, as an amount of EGRflow increases, exhaust dilution of intake air increases, reducing theamount of oxygen available in the intake air, and thereby reducing theoutput of the intake sensor. The EGR dilution may be reflected as a dropin oxygen concentration sensed by the intake oxygen sensor.

Thus at 906, a change in oxygen concentration may be determined based onthe determined difference between the oxygen sensor output relative tothe zero point. At 908, an amount of EGR dilution of intake air isdetermined based on the change in oxygen concentration. At 910, an EGRflow is controlled based on the EGR dilution determined and the desiredEGR. As used herein, the EGR flow may be a low pressure EGR flow alongan EGR passage from an exhaust manifold, downstream of an exhaustturbine, to an intake manifold, upstream of an intake compressor, via anEGR valve. In addition, the EGR may be provided at a fixed rate orvariable rate relative to intake air flow based on engine operatingconditions. For example, at all engine speed-load conditions from amedium load down to a minimum load, low pressure EGR may be delivered ata fixed rate relative to the intake air flow (that is, at a fixed EGRpercentage). In comparison, at engine speed-load conditions above amedium load, low pressure EGR may be delivered at a variable raterelative to the intake air flow (that is, at a variable EGR percentage).

Controlling the EGR flow includes, at 911, feed-forward adjusting theEGR valve based on engine operating conditions, such as speed-loadconditions. For example, at higher engine speed-load conditions, anopening of the EGR valve may be increased while at lower enginespeed-load conditions, the EGR valve opening may be decreased. Inaddition, at 912, the controlling includes feedback adjusting the EGRvalve based on the calculated EGR flow relative to a desired EGR flow.For example, if the actual flow estimated by the intake oxygen sensorexceeds the desired or expected flow, the EGR valve opening may bedecreased. As another example, if the actual flow estimated by theintake oxygen sensor is below the desired or expected flow, the EGRvalve opening may be increased.

At 914, it may be determined if there is an indication of EGR valveleakage. As elaborated at FIG. 6, EGR valve leakage may be identifiedbased on deviations between an oxygen sensor zero point learned usingthe idle adaptation and a zero point learned using the DFSO adaptation.If no EGR valve leakage is identified, the routine may end. Else at 816,in response to the indication of EGR valve leakage, the controller mayterminate the feedback adjustment of the EGR valve based on the outputof the intake oxygen sensor and temporarily shift to using onlyfeed-forward control of the EGR valve. In alternate embodiments, inresponse to the indication of EGR valve leakage, EGR may be transientlydisabled or a diagnostic flag may be set.

In other words, in response to an indication of no EGR valve leakage,the EGR valve is feed-forward adjusted based on engine speed-loadconditions and feedback adjusted based on an output of the intakemanifold sensor relative to at least one of the first and secondreference points learned during idle and DFSO adaptations, respectively.In comparison, in response to an indication of EGR valve leakage, theEGR valve is only feed-forward adjusted based on engine speed-loadconditions while feedback adjusting of the EGR valve based on the outputof the intake manifold sensor relative to at least one of the first andsecond reference points is terminated. This allows EGR control to beimproved when EGR valve leakage is known.

In one example, an engine system comprises an engine including an intakemanifold, a turbocharger including an exhaust turbine and an intakecompressor, a charge air cooler coupled downstream of the compressor,and an intake oxygen sensor coupled to the intake manifold downstream ofthe charge air cooler and upstream of an intake throttle. A pressuresensor may be coupled to the intake manifold downstream of the chargeair cooler and upstream of the intake throttle. The engine system mayfurther comprise an EGR system including an EGR passage and EGR valvefor recirculating exhaust residuals from downstream of the turbine toupstream of the compressor. A controller of the engine system may beconfigured with computer readable instructions for: during a firstengine idle since an engine start, learning a reference point for theoxygen sensor at a reference intake pressure; and adjust an opening ofthe EGR valve based on an intake oxygen concentration estimated by thesensor relative to the learned reference point, and further based on anintake pressure relative to the reference intake pressure. Thecontroller may additionally, or optionally, during an enginedeceleration fuel shut-off condition, learn a reference point for theoxygen sensor at the reference intake pressure; and adjust an opening ofthe EGR valve based on an intake oxygen concentration estimated by thesensor relative to the learned reference point, and further based on anintake pressure relative to the reference intake pressure. The enginesystem may further comprise a humidity sensor for estimating an ambienthumidity, the controller then further adjusting the opening of the EGRvalve based on an ambient humidity relative to a reference humidity. Thecontroller may further determine degradation of the EGR valve based ondifferences between the reference points learned during the idlecondition relative to the DFSO condition.

In this way, a relationship between an intake oxygen sensor and anintake pressure sensor can be learned at varying humidity conditions,and an EGR flow can be learned based on a change in the output of theoxygen sensor, independent of the accuracy of either the oxygen sensoror the pressure sensor. By adjusting the output of an intake oxygensensor based on an ambient humidity estimated by an intake humiditysensor, the displacement of intake oxygen by humidity can be accuratelyestimated and accounted for, improving the reliability of the oxygensensor's zero point reading. By performing the learning during idlingconditions, noise factors due to ingestion of PCV and purge HCs, intakepressure variations, sensor aging, as well as part-to-part variations isreduced. By also performing the learning during engine non-fuelingconditions, such as a DFSO, noise factors due to EGR valve leakage arereduced. By increasing the accuracy of the intake oxygen sensor's zeropoint reading, EGR can be estimated more reliably, improving EGRcontrol.

Note that the example control and estimation routines included hereincan be used with various engine and/or vehicle system configurations.The specific routines described herein may represent one or more of anynumber of processing strategies such as event-driven, interrupt-driven,multi-tasking, multi-threading, and the like. As such, various actions,operations, and/or functions illustrated may be performed in thesequence illustrated, in parallel, or in some cases omitted. Likewise,the order of processing is not necessarily required to achieve thefeatures and advantages of the example embodiments described herein, butis provided for ease of illustration and description. One or more of theillustrated actions, operations and/or functions may be repeatedlyperformed depending on the particular strategy being used. Further, thedescribed actions, operations and/or functions may graphically representcode to be programmed into non-transitory memory of the computerreadable storage medium in the engine control system.

It will be appreciated that the configurations and routines disclosedherein are exemplary in nature, and that these specific embodiments arenot to be considered in a limiting sense, because numerous variationsare possible. For example, the above technology can be applied to V-6,I-3, I-4, I-6, V-12, opposed 4, and other engine types. The subjectmatter of the present disclosure includes all novel and non-obviouscombinations and sub-combinations of the various systems andconfigurations, and other features, functions, and/or propertiesdisclosed herein.

The following claims particularly point out certain combinations andsub-combinations regarded as novel and non-obvious. These claims mayrefer to “an” element or “a first” element or the equivalent thereof.Such claims should be understood to include incorporation of one or moresuch elements, neither requiring nor excluding two or more suchelements. Other combinations and sub-combinations of the disclosedfeatures, functions, elements, and/or properties may be claimed throughamendment of the present claims or through presentation of new claims inthis or a related application. Such claims, whether broader, narrower,equal, or different in scope to the original claims, also are regardedas included within the subject matter of the present disclosure.

1. A method for an engine system, comprising: learning a reference pointfor an intake oxygen sensor at a reference intake pressure during engineidling and non-fueling conditions; and adjusting EGR flow to the enginebased on an intake oxygen concentration estimated by the sensor relativeto the learned reference point, and further based on a change in intakepressure from the reference intake pressure.
 2. The method of claim 1,wherein the reference intake pressure is one of a throttle inletpressure and an intake manifold pressure.
 3. The method of claim 1,wherein the engine non-fueling conditions include an engine decelerationfuel shut-off condition (DFSO).
 4. The method of claim 1, wherein theengine idling and non-fueling conditions includes a first engine idle orDFSO since installation of one or more of the intake oxygen sensor andan intake pressure sensor configured to estimate the reference intakepressure.
 5. The method of claim 4, wherein each of the intake oxygensensor and the pressure sensor are positioned in an engine intakemanifold, downstream of a charge air cooler and upstream of an intakethrottle.
 6. The method of claim 1, wherein learning the reference pointincludes correcting an output of the intake oxygen sensor estimated atthe reference pressure with a correction factor based on ambienthumidity.
 7. The method of claim 6, wherein learning the reference pointfurther includes performing a recursive least squares adaptation forpressure correction.
 8. The method of claim 1, wherein adjusting EGRflow to the engine includes adjusting low-pressure EGR flow along an EGRpassage from an exhaust manifold, downstream of an exhaust turbine, toan intake manifold, upstream of an intake compressor, via an EGR valve.9. The method of claim 8, wherein the learned reference point is a firstlearned reference point, the method further comprising learning a secondreference point for the intake oxygen sensor at the reference intakepressure during selected engine idling conditions.
 10. The method ofclaim 9, further comprising, indicating EGR valve degradation based on adifference between the first learned reference point and the secondlearned reference point learned during DFSO being larger than athreshold amount.
 11. The method of claim 10, wherein adjusting EGR flowto the engine includes feedback adjusting EGR flow to the engine basedon the intake oxygen concentration estimated by the sensor relative tothe learned reference point and further based on a change in intakepressure from the reference intake pressure, the EGR flow feed-forwardadjusted based on engine speed-load conditions, and wherein in responseto the indication of EGR valve degradation, the method further includesterminating feedback adjustment of EGR flow based on the intake oxygenconcentration estimated by the sensor relative to the learned referencepoint and further based on a change in intake pressure from thereference intake pressure and only feed-forward adjusting the EGR flow.12. The method of claim 1, wherein the estimated intake oxygenconcentration is scaled to an output of the intake oxygen sensor at thereference intake pressure by dividing the estimated intake oxygenconcentration with a pressure correction factor at a current pressurereading
 13. A method for an engine, comprising: indicating EGR valveleakage based on a first reference point of an intake oxygen sensorlearned during engine idling conditions relative to a second referencepoint of the oxygen sensor learned during engine non-fueling conditions.14. The method of claim 13, wherein the indicating includes indicatingEGR valve leakage based on a difference between the first referencepoint and the second reference point being larger than a threshold. 15.The method of claim 14, further comprising, in response to an indicationof no EGR valve leakage, feed-forward adjusting the EGR valve based onengine speed-load conditions while feedback adjusting the EGR valvebased on an output of the intake oxygen sensor relative to one of thefirst and second reference point; and in response to an indication ofEGR valve leakage, feed-forward adjusting the EGR valve based on enginespeed-load conditions while terminating feedback adjusting of the EGRvalve based on the output of the intake oxygen sensor relative to one ofthe first and second reference point.
 16. The method of claim 13,wherein the EGR valve is coupled to a low pressure EGR passageconfigured to recirculate exhaust residuals from an exhaust manifold,downstream of a turbine to an intake manifold, upstream of a compressor.17. The method of claim 16, wherein the intake oxygen sensor is coupledto an engine intake manifold, upstream of an intake throttle and eitherupstream or downstream of a charge air cooler, the cooler coupleddownstream of the compressor.
 18. The method of claim 17, wherein eachof the first and second reference points are learned at a referenceintake pressure, the reference intake pressure estimated by an intakepressure sensor coupled to the engine intake manifold, upstream of theintake throttle and downstream of the charge air cooler.
 19. An enginesystem, comprising: an engine including an intake manifold; aturbocharger including an exhaust turbine and an intake compressor; acharge air cooler coupled downstream of the compressor; an intake oxygensensor coupled to the intake manifold downstream of the charge aircooler and upstream of an intake throttle; a pressure sensor coupled tothe intake manifold downstream of the charge air cooler and upstream ofthe intake throttle; an EGR system including an EGR passage and EGRvalve for recirculating exhaust residuals from downstream of the turbineto upstream of the compressor; and a controller with computer readableinstructions for: during an engine deceleration fuel shut-off condition,learning a reference point for the oxygen sensor at a reference intakepressure; and adjusting an opening of the EGR valve based on an intakeoxygen concentration estimated by the sensor relative to the learnedreference point, and further based on an intake pressure relative to thereference intake pressure.
 20. The system of claim 19, furthercomprising a humidity sensor for estimating an ambient humidity, thecontroller including further instructions for further adjusting theopening of the EGR valve based on an ambient humidity relative to areference humidity.